package net.lab1024.sa.admin.module.upstream.api.painet.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class BoxIncomesResponse {

    private List<Income> incomes;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class Income {

        private List<BoxBandwidth> boxBandwidths;

    }

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class BoxBandwidth {

        private String supplierBoxId;
        private BigDecimal bandwidth;
        private BigDecimal factor;

    }
}
